From: Tim Starling Date: Fri, 18 Feb 2011 14:18:26 +0000 (+0000) Subject: Fix comments and whitespace for \\\\ . X-Git-Tag: 1.31.0-rc.0~31925 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=707fe29c398a0bac6687dccafb0c23f39fd478b8;p=lhc%2Fweb%2Fwiklou.git Fix comments and whitespace for \\\\ . --- diff --git a/includes/libs/JavaScriptDistiller.php b/includes/libs/JavaScriptDistiller.php index 123d802951..1027433ba0 100644 --- a/includes/libs/JavaScriptDistiller.php +++ b/includes/libs/JavaScriptDistiller.php @@ -98,7 +98,7 @@ class JavaScriptDistiller { '\'' . // start quote '[^\'\\\\]*' . // a run of non-special characters '(?:' . - '\\\\ .' . // a backslash followed by a character or line ending + '\\\\ .' . // a backslash followed by any character '[^\'\\\\]*' . // a run of non-special characters ')*' . // any number of the above '\'', // end quote @@ -115,7 +115,7 @@ class JavaScriptDistiller { '[^\r\n\*]' . // not a comment-start or line ending '[^\/\r\n\\\\]*' . // a sequence of non-special characters '(?:' . - '\\\\.' . // an escaped dot + '\\\\ .' . // a backslash followed by any character '[^\/\r\n\\\\]*' . // a sequence of non-special characters ')*' . // any number of the above '\/[ig]*' , // pattern end, optional modifier